package com.city.service.pub.impl;

import com.city.domain.pub.PubOccupation;
import com.city.repository.pub.PubOccupationRepository;
import com.city.service.pub.PubOccupationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 职业分类
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class PubOccupationServiceImpl implements PubOccupationService {

    @Autowired
    private PubOccupationRepository pubOccupationRepository;


    @Override
    public List<PubOccupation> findAll() {
        return pubOccupationRepository.findAll();
    }
}
